package com.heliang.service.info;

import java.util.List;

import com.heliang.dataaccess.bean.InfoBean;
import com.hl.component.exception.ServiceException;

public interface InfoService {

    /**
     * 
     * @Description:  根据类别ID,资讯类别ID获取资讯
     * @param:        @param catId  资讯类别ID
     * @param:        @param typeId 类别ID
     * @param:        @return    
     * @return:       List<InfoBean>    
     * @throws 
     * @author        heliang
     * @Date          2013-10-21 上午11:07:42
     */
    public List<InfoBean> getInfoBeanByCatId(int catId,int typeId)throws ServiceException;
    
    /**
     * 
     * @Description:  将资讯更新为已读
     * @param:        @param id
     * @param:        @param isRead
     * @param:        @return    
     * @return:       boolean    
     * @throws 
     * @author        heliang
     * @Date          2013-10-21 上午11:17:56
     */
    public boolean updateReadStatus(int id,boolean isRead)throws ServiceException;
}
